﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;

namespace GameSnake
{
    public class GameController
    {
        
       public ConsoleKeyInfo? GetConsoleKey()
       {
           if(Console.KeyAvailable)
            return Console.ReadKey(true);

           return null;
       }
    }
}
